package it.sd.pwframework.persistence.annotations;

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

@Target({METHOD, FIELD})
@Retention(RUNTIME)
public @interface CrudProperty  {

	int order() default 999;
	
	String label() default "";
	
	boolean searcheable() default false;
	
	boolean hidden() default false;
	
	boolean readonly() default false;
	
	boolean showintable() default true;
	
	CrudType type() default CrudType.INPUT;
	
	String validator() default "";

}
